NetReplace
NetReplace[net,patt->layer] gives a net in which all layers matching patt are replaced with layer.
NetReplace[net,{rule1,rule2,…}] performs all replacements specified by the rulei.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.